home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 February / Chip_2001-02_cd1.bin / zkuste / MacOS / FILES / muwse.sit / Muwse / TextClips / Objects / Java clock < prev    next >
MacBinary  |  2000-05-30  |  1.0 KB  |  [TEXT/ttxt]

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Java clock

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue May 30 18:38:29 2000, modified Tue May 30 18:38:29 2000, creator SimpleText, type ASCII, 472 bytes "Java clock" , at 0x258 332 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default
100% xdgMime text/html default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 4a 61 76 61 20 63 | 6c 6f 63 6b 00 00 00 00 |..Java c|lock....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 74 74 78 | 74 01 00 00 00 00 00 00 |.TEXTttx|t.......|
|00000050| 00 00 00 00 00 01 d8 00 | 00 01 4c b5 59 f3 65 b5 |........|..L.Y.e.|
|00000060| 59 f3 65 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |Y.e.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 33 0a 00 00 |........|....3...|
|00000080| 3c 53 43 52 49 50 54 20 | 4c 41 4e 47 55 41 47 45 |<SCRIPT |LANGUAGE|
|00000090| 3d 22 4a 61 76 61 53 63 | 72 69 70 74 22 3e 0d 3c |="JavaSc|ript">.<|
|000000a0| 21 2d 2d 0d 2f 2f 0d 2f | 2f 20 54 68 69 73 20 73 |!--.//./|/ This s|
|000000b0| 63 72 69 70 74 20 69 73 | 20 45 78 70 6c 6f 72 65 |cript is| Explore|
|000000c0| 72 20 6f 6e 6c 79 2e 0d | 2f 2f 0d 64 61 74 65 74 |r only..|//.datet|
|000000d0| 69 6d 65 20 3d 20 6e 65 | 77 20 44 61 74 65 28 29 |ime = ne|w Date()|
|000000e0| 3b 0d 64 6f 63 75 6d 65 | 6e 74 2e 77 72 69 74 65 |;.docume|nt.write|
|000000f0| 28 28 64 61 74 65 74 69 | 6d 65 2e 67 65 74 4d 6f |((dateti|me.getMo|
|00000100| 6e 74 68 28 29 2b 31 29 | 2b 22 2f 22 2b 64 61 74 |nth()+1)|+"/"+dat|
|00000110| 65 74 69 6d 65 2e 67 65 | 74 44 61 74 65 28 29 2b |etime.ge|tDate()+|
|00000120| 22 2f 22 2b 64 61 74 65 | 74 69 6d 65 2e 67 65 74 |"/"+date|time.get|
|00000130| 59 65 61 72 28 29 2b 27 | 3c 42 52 3e 27 29 3b 0d |Year()+'|<BR>');.|
|00000140| 76 61 72 20 48 72 73 2c | 20 4d 69 6e 73 2c 20 61 |var Hrs,| Mins, a|
|00000150| 6d 70 6d 3b 0d 48 72 73 | 20 3d 20 64 61 74 65 74 |mpm;.Hrs| = datet|
|00000160| 69 6d 65 2e 67 65 74 48 | 6f 75 72 73 28 29 3b 0d |ime.getH|ours();.|
|00000170| 61 6d 70 6d 20 3d 20 22 | 20 41 2e 4d 2e 22 3b 0d |ampm = "| A.M.";.|
|00000180| 69 66 20 28 48 72 73 20 | 3e 3d 20 31 32 29 20 7b |if (Hrs |>= 12) {|
|00000190| 61 6d 70 6d 20 3d 20 22 | 20 50 2e 4d 2e 22 3b 7d |ampm = "| P.M.";}|
|000001a0| 0d 69 66 20 28 48 72 73 | 20 3e 20 31 32 29 20 7b |.if (Hrs| > 12) {|
|000001b0| 48 72 73 20 2d 3d 20 31 | 32 3b 7d 20 69 66 20 28 |Hrs -= 1|2;} if (|
|000001c0| 48 72 73 20 3d 3d 20 30 | 29 20 7b 48 72 73 20 3d |Hrs == 0|) {Hrs =|
|000001d0| 20 31 32 3b 7d 0d 4d 69 | 6e 73 20 3d 20 64 61 74 | 12;}.Mi|ns = dat|
|000001e0| 65 74 69 6d 65 2e 67 65 | 74 4d 69 6e 75 74 65 73 |etime.ge|tMinutes|
|000001f0| 28 29 3b 0d 69 66 20 28 | 4d 69 6e 73 20 3c 20 31 |();.if (|Mins < 1|
|00000200| 30 29 20 7b 4d 69 6e 73 | 20 3d 20 22 30 22 20 2b |0) {Mins| = "0" +|
|00000210| 20 4d 69 6e 73 3b 7d 0d | 0d 64 6f 63 75 6d 65 6e | Mins;}.|.documen|
|00000220| 74 2e 77 72 69 74 65 28 | 48 72 73 20 2b 20 22 3a |t.write(|Hrs + ":|
|00000230| 22 20 2b 20 4d 69 6e 73 | 20 2b 20 61 6d 70 6d 20 |" + Mins| + ampm |
|00000240| 2b 20 27 3c 42 52 3e 27 | 29 3b 0d 2d 2d 3e 0d 3c |+ '<BR>'|);.-->.<|
|00000250| 2f 53 43 52 49 50 54 3e | 00 00 00 00 00 00 00 00 |/SCRIPT>|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 01 00 00 00 01 1a | 00 00 00 1a 00 00 00 32 |........|.......2|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 16 00 01 00 00 | 00 00 00 10 00 0c 00 03 |........|........|
|00000390| 00 00 00 0c 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|000003a0| 01 1a 00 00 00 1a 00 00 | 00 32 07 03 b7 08 05 82 |........|.2......|
|000003b0| 00 00 00 1c 00 32 00 00 | 73 74 79 6c 00 00 00 0a |.....2..|styl....|
|000003c0| 00 80 ff ff 00 00 00 00 | 07 05 8c 80 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+